﻿using QG.FrontDesk.BLL.IService;
using QG.FrontDesk.DAL.IRepository;
using QG.FrontDesk.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace QG.FrontDesk.BLL.Service
{
    public class ResumesByPersonService : IResumesByPersonService
    {
        private IResumesByPersonRepository _resumesByPersonRepository;

        public ResumesByPersonService(IResumesByPersonRepository resumesByPersonRepository)
        {
            _resumesByPersonRepository = resumesByPersonRepository;
        }

        /// <summary>
        /// 得到简历信息
        /// </summary>
        /// <param name="userId"></param>
        /// <param name="statu"></param>
        /// <returns></returns>
        public List<Position_ResumeInfo> GetResumeInfo(int userId, short statu)
        {
            return _resumesByPersonRepository.GetResumeInfo(userId, statu);
        }
    }
}
